/**  
* @Title: StatService.java  
* @Description: TODO(用一句话描述该文件做什么)  
* @author 张鑫
* @phone 17561783855  
* @date 2019年8月2日  
*/
package com.fortune.rainshine.service.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import com.fortune.rainshine.config.FeignConfig;
import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.query.StatQuery;

/**  
* @ClassName: StatService  
* @Description: TODO(这里用一句话描述这个类的作用)  
* @author 张鑫
* @phone 17561783855
* @date 2019年8月2日  
*    
*/
@FeignClient(value = "rain-shine-service",configuration = FeignConfig.class)
@RestController
public interface StatService {

	@PostMapping(value = "/stat/merchantMonthStat")
	MsgModel merchant(StatQuery model);
	
	@PostMapping(value = "/stat/getShopNewCustomerStat")
	MsgModel shopStat(StatQuery model);
	
	@PostMapping(value = "/stat/getShopBuyStat")
	MsgModel shopBuy(StatQuery model);

}
